home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-s3c2410 / include / mach / bast-pmu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  1.1 KB  |  41 lines

  1. /* arch/arm/mach-s3c2410/include/mach/bast-pmu.h
  2.  *
  3.  * Copyright (c) 2003,2004 Simtec Electronics
  4.  *    Ben Dooks <ben@simtec.co.uk>
  5.  *    Vincent Sanders <vince@simtec.co.uk>
  6.  *
  7.  * Machine BAST - Power Management chip
  8.  *
  9.  * This program is free software; you can redistribute it and/or modify
  10.  * it under the terms of the GNU General Public License version 2 as
  11.  * published by the Free Software Foundation.
  12. */
  13.  
  14. #ifndef __ASM_ARCH_BASTPMU_H
  15. #define __ASM_ARCH_BASTPMU_H "08_OCT_2004"
  16.  
  17. #define BASTPMU_REG_IDENT    (0x00)
  18. #define BASTPMU_REG_VERSION    (0x01)
  19. #define BASTPMU_REG_DDCCTRL    (0x02)
  20. #define BASTPMU_REG_POWER    (0x03)
  21. #define BASTPMU_REG_RESET    (0x04)
  22. #define BASTPMU_REG_GWO        (0x05)
  23. #define BASTPMU_REG_WOL        (0x06)
  24. #define BASTPMU_REG_WOR        (0x07)
  25. #define BASTPMU_REG_UID        (0x09)
  26.  
  27. #define BASTPMU_EEPROM        (0xC0)
  28.  
  29. #define BASTPMU_EEP_UID        (BASTPMU_EEPROM + 0)
  30. #define BASTPMU_EEP_WOL        (BASTPMU_EEPROM + 8)
  31. #define BASTPMU_EEP_WOR        (BASTPMU_EEPROM + 9)
  32.  
  33. #define BASTPMU_IDENT_0        0x53
  34. #define BASTPMU_IDENT_1        0x42
  35. #define BASTPMU_IDENT_2        0x50
  36. #define BASTPMU_IDENT_3        0x4d
  37.  
  38. #define BASTPMU_RESET_GUARD    (0x55)
  39.  
  40. #endif /* __ASM_ARCH_BASTPMU_H */
  41.